<!DOCTYPE html>
<html lang="en">
<head>
    <!--[if lt IE 9]>
    <script src="https://g.alicdn.com/aliww/ww/json/json.js" charset="utf-8"></script>
    <![endif]-->
    <!-- 自动适配移动端与pc端 -->
    <script src="https://g.alicdn.com/aliww/??h5.openim.sdk/1.0.6/scripts/wsdk.js,h5.openim.kit/0.3.3/scripts/kit.js" charset="utf-8"></script>
    <script>
        var  liefeng = {};
    </script>
    <script src="../public/js/lib/common.min.js"></script>
    <script>
        window.onload = function(){
            var search = location.search,
                    uid = liefeng.utils.getUrlParam('uid', search),
                    touid = liefeng.utils.getUrlParam('touid', search);

            WKIT.init({
                uid: uid,//id
                appkey: 23309569,
                credential: uid,//id
                touid: touid,//to id
                themeBgColor: '#2cc57b',
                themeColor: '#fff',
                msgBgColor: '#2cc57b',
                msgColor: '#fff',
                titleBar:false
            });
        }
    </script>
    <meta charset="UTF-8">
    <title>聊天</title>
</head>
<body>

</body>
</html>